<?php

/**
 * Specials form.
 *
 * @package    form
 * @subpackage specials
 * @version    SVN: $Id: sfPropelFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class SpecialsForm extends BaseSpecialsForm
{
  public function configure()
  {
    unset($this['created_at']);
    unset($this['deleted_at']);
    
    $this->validatorSchema['expires_date'] =  new sfValidatorDate();
	  $this->validatorSchema['status'] = new sfValidatorInteger(array('min' => 1), array( 'min' => '1 minimum'));
	  $this->validatorSchema['specials_new_products_price'] = new sfValidatorNumber(array('min' => 1), array('min' => '1 minimum'));
  }
}
